package object;

/**
 * 
 * @author wangweida
 * 2009-12-3
 */

public class Group_User{
	private int GroupID;
	private int UserID;
	private int AddedByID;
	private String AddDate;
	private int LastEditedByID;
	private String LastDate;
	
	private Group_User(){
		
	}
	private Group_User(int GroupID,int UserID,int AddedByID,String AddDate,int LastEditedByID,String LastDate){
		this.GroupID=GroupID;
		this.UserID=UserID;
		this.AddedByID=AddedByID;
		this.AddDate=AddDate;
		this.LastEditedByID=LastEditedByID;
		this.LastDate=LastDate;
	} 
	
	public static Group_User getInstance(){
		return new Group_User();
	}
	
	public static Group_User getInstance(int GroupID,int UserID,int AddedByID,String AddDate,int LastEditedByID,String LastDate){
		return new Group_User(GroupID,UserID,AddedByID,AddDate,LastEditedByID,LastDate);
	}
	
	public void setGroupID(int GroupID){
		this.GroupID=GroupID;
	}
	public int getGroupID(){
		return this.GroupID;
	}
	public void setUserID(int UserID){
		this.UserID=UserID;
	}
	public int getUserID(){
		return this.UserID;
	}
	public void setAddedByID(int AddedByID){
		this.AddedByID=AddedByID;
	}
	public int getAddedByID(){
		return this.AddedByID;
	}
	public void setLastEditedByID(int LastEditedByID){
		this.LastEditedByID=LastEditedByID;
	}
	public int getLastEditedByID(){
		return this.LastEditedByID;
	}
	public void setAddDate(String AddDate){
		this.AddDate=AddDate;
	}
	public String getAddDate(){
		return this.AddDate;
	}
	public void setLastDate(String LastDate){
		this.LastDate=LastDate;
	}
	public String getLastDate(){
		return this.LastDate;
	}
}